<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/15
  Time: 14:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html>
<head>
    <title>新增体检数据</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/phyData/add.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<form id="formPhyData" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <div class="cuttle">
            <div style="clear: both">
                <div class="form_one" >
                    <label class="lable-style">姓名:</label>
                    <input id="userId" name="userId" class="easyui-textbox" editable="false" required="true" validType="validSelect" style="width: 240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">工号:</label>
                    <input class="easyui-textbox" type="text" id="gonghao" data-options="readonly:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">性别:</label>
                    <input class="easyui-textbox" type="text" id="xingbie" data-options="readonly:true" style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">单位名称:</label>
                    <input id="danwei" type="text" class="easyui-textbox" data-options="readonly:true"  style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">岗位:</label>
                    <input id="gangwei" type="text" class="easyui-textbox" data-options="readonly:true"  style="width: 240px;">
                </div>
                <%--<div class="form_one">
                    <label class="lable-style">接触职业危害:</label>
                    <input type="text" style="width: 240px" name="zyweihai" id="zyweihai" >
                </div>--%>
                <div class="form_one">
                    <label class="lable-style">主要症状:</label>
                    <input name="mainSymptom" type="text"  class="easyui-textbox" style="width: 240px;" >
                </div>
            </div>

            <div style="clear: both">
                <div class="form_one" >
                    <label class="lable-style">体检批次:</label><%--editable="false"--%>
                    <input id="physicalBatch" name="physicalBatch" class="easyui-textbox" editable="false"  required="true" validType="validSelect" style="width: 240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">体检类别:</label>
                    <input id="leibie" type="text" class="easyui-textbox"  data-options="readonly:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">诊断单位:</label>
                    <input class="easyui-textbox" type="text" id="serviceId" name="serviceId" editable="false"  data-options="required:true"  style="width:240px;">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 720px;">
                    <label class="lable-style">危害因素:</label>
                    <input class="easyui-textbox" type="text"  id="zyweihai" editable="false"  required="required"  style="width:600px;">
                    <input type="hidden" id="zyweihaiId" name="zyweihai">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">体检日期:</label>
                    <input class="easyui-datebox" style="width: 240px;" data-options="required:true,editable:false"  name="physicalDate">
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>体检结果</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <div class="cuttle">
            <div style="clear: both">
                <div class="form_one isCk" style="width: 720px;height: 40px">
                    <label class="lable-style">体检结论:</label>
                    <span>*</span>
                    <c:forEach var="lis" items="${con}">
                        <input type="checkbox" <c:if test="${lis.text=='未见异常'}"> class="optionno" id="conclusionNo" name="conclusion" </c:if>
                                <c:if test="${lis.text=='复查'}"> class="optiony" id="conclusionFx" name="conclusion" </c:if>
                                <c:if test="${lis.text=='职业禁忌证'}"> class="optiony" id="conclusionZy" name="conclusion" </c:if>
                                <c:if test="${lis.text=='疑似职业病'}"> class="optiony" id="conclusionYs" name="conclusion" </c:if>
                                <c:if test="${lis.text=='其它疾病或异常'}"> class="optiony" id="conclusionQt" name="conclusion" </c:if>
                               value="${lis.id}"/>${lis.text}
                    </c:forEach>
                    <input type="hidden" id="isAbnormal" name="isAbnormal" />
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 720px;height: 60px">
                    <label class="lable-style">医生结论:</label>
                    <input name="doctorConclusion" type="text" class="easyui-textbox" data-options="multiline:true,required:true"
                           style="width: 600px;height: 55px"/>
                    <span>*</span>
                </div>
            </div>
            <div class="district-wrap" style="clear: both;display: none" id="optionDiv">
                <div class="form_one">
                    <label class="lable-style">处理意见:</label>
                    <input id="options" name="options" type="text" style="width: 240px;" data-options="required:true" >
                </div>
            </div>
        </div>

    </div>
    <div class="information">
        <div class="information-title">
            <p>体检附件</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <accessory:accessorySimple permission="write" packageKey="phypage" uploadUserId="${loginUser.id}"
                                   accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
</form>
<div class="information" id="occforbidTbDiv" style="display:none;">
    <div class="information-title">
        <p>职业禁忌证</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="enclosure">
        <a id="occforbidTb_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;">新增</a>
        <a id="occforbidTb_remove" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" style="margin:5px;">移除</a>
        <a id="occforbidTb_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg"  style="margin:5px;">保存</a>
        <table id="occforbidTb"></table>
    </div>
</div>
<div class="information" id="occdoubtTbDiv" style="display:none;">
    <div class="information-title">
        <p>疑似职业病</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="enclosure">
        <a id="occdoubtTb_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;">新增</a>
        <a id="occdoubtTb_remove" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" style="margin:5px;">移除</a>
        <a id="occdoubtTb_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg"  style="margin:5px;">保存</a>
        <table id="occdoubtTb"></table>
    </div>
</div>
<div class="information" id="occotherTbDiv" style="display:none;">
    <div class="information-title">
        <p>其他疾病或异常</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="enclosure">
        <a id="occotherTb_add" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-plus fa-lg" style="margin:5px;">新增</a>
        <a id="occotherTb_remove" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-trash fa-lg" style="margin:5px;">移除</a>
        <a id="occotherTb_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg"  style="margin:5px;">保存</a>
        <table id="occotherTb"></table>
    </div>
</div>
</body>
</html>
